//
//  LYPlaybackView.h
//  LYLiveApp
//
//  Created by QD on 2017/7/17.
//  Copyright © 2017年 览益信息科技. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "LYCustomSlider.h"
@class LYPlaybackModel;

typedef void(^Block)(BOOL action);
typedef void (^VoiceBlock) (CGFloat value);
typedef void (^DefinitionBlock) (VHallMovieDefinition definition);

@interface LYPlaybackView : UIView
@property (weak, nonatomic) IBOutlet LYCustomSlider *fullProgressSlider;
@property (weak, nonatomic) IBOutlet UILabel *fullTimeLabel;
@property (weak, nonatomic) IBOutlet UILabel *rightTimeLabel;
@property (nonatomic,copy) dispatch_block_t backBlock;
@property (nonatomic,copy) dispatch_block_t refreshBlock;
@property(nonatomic,copy) Block block;
@property(nonatomic,copy) Block lockBlock;
@property(nonatomic,copy) VoiceBlock voiceBlock;
@property(nonatomic,copy) VoiceBlock processValue;
@property (nonatomic,copy) DefinitionBlock definitionblock;
@property(nonatomic,strong) LYPlaybackModel *currentPlayModel;
@property(nonatomic,assign) CGFloat original;

@property(nonatomic,assign) BOOL isVideoLivingPage;     //是否为视频直播页面

@property (weak, nonatomic) IBOutlet UIButton *playButton;
//@property (nonatomic,copy) dispatch_block_t playBlock;

+ (instancetype)viewWithXib;

@end
